package com.shangxian.giveithome.entity.report.outputParams;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author Administrator
 * 返回结果列表
 */
@Data
public class ResultList {

    @ApiModelProperty("举报记录id")
    private Long id;

    @ApiModelProperty("举报类型")
    private String type;

    @ApiModelProperty("举报内容")
    private String reportContent;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GTM+8")
    @ApiModelProperty("举报时间")
    private Date reportTime;

}
